ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.Image Namespace / ImageHelper Class / GetMimeType Method / GetMimeType(Byte[]) Method
The data of the image to get the mime type of.

In This Topic
    GetMimeType(Byte[]) Method
    In This Topic
    Gets the type of an BMP, PNG, JPEG, WMF, EMF, TIFF or GIF image.
    Syntax
    'Declaration
     
    Public Overloads Shared Function GetMimeType( _
       ByVal imageData() As Byte _
    ) As String
    public static string GetMimeType( 
       byte[] imageData
    )

    Parameters

    imageData
    The data of the image to get the mime type of.

    Return Value

    The mime type of the specified image.
    See Also